import request from "@/utils/request";

export function getUserInfoApi() {
    return request({
        url: '/user/getUserInfo',
        method: 'get',
    })
}

export function updateUserInfoApi(data) {
    return request({
        url: '/user/update',
        method: 'post',
        data
    })
}
